<div id="TopMenu">
<div class="lt"></div>
<div class="bd">
<span id="foobar_widgets_195" style="position: relative; z-index:65535;">
<?php if(isset($customer)):?>
<span id="loginBar_widgets_195" "><?=_L('member/welcome')?> ,&nbsp;  <a href="<?=_url('userinfo')?>"><?=$customer['email']?></a></span>


<a href="<?=_url('logout')?>" class="" onclick="return confirm('<?=_L('logout')?> ?')">
<span class=""> [<?=_L('logout')?>] </span> </a>

<a href="<?=_url('userorders')?>" class="cart-container">
<span class="inlineblock CartIco"> <?=_L('my_order')?>  </span> </a>

<?php else:?>
<a href="<?=_url('login')?>" class="cart-container">[<?=_L('login')?>]</a>
<?php if(Helper_Cart::ordercount()):?>
<a href="<?=_url('TmpOrderList')?>" class="cart-container">
<span class="inlineblock CartIco"> <?=_L('my_order')?> </span>[<span id="Cart_widgets_195" class="cart-number"><?= Helper_Cart::ordercount(); ?></span>]</a>
<?php endif;?>
<?php endif;?>

<a href="<?=_url('cart')?>" class="cart-container">
<span class="inlineblock CartIco">  <?=_L('shopping_cart')?> </span>[<span id="Cart_widgets_195" class="cart-number"><?= Helper_Cart::goodscount(); ?></span>]</a>
</span>
</div>
</div>